import request from '@/utils/request'

export function getLabelList() {
  return request({
    url: '/getLabelList',
    method: 'get'
  })
}

export function addLabel(title) {
  return request({
    url: '/addLabel',
    method: 'post',
    params: {
      title : title
    }
  })
}

export function delLabel(id) {
  return request({
    url: '/delLabel',
    method: 'get',
    params: {
      id : id
    }
  })
}
